 {
        

        var o = require("../../Comm/ChatResConfig.js"), i = require("../../UIManager/UISoundManager.js");
        cc.Class({
            extends: cc.Component,
            properties: {
                sp: cc.Sprite
            },
            onLoad: function () {
                this.anim = this.sp.getComponent(cc.Animation);
            },
            start: function () {
            },
            setData: function (e) {
                var t = e.spfName;
                this.targetSeatIndex = e.targetSeatIndex, Global.spriteAtlas.setSpriteFrame(this.sp, "Texture/chat_effect_emotion", t);
            },
            onItemClick: function (e, t) {
                i.playEffect("select");
                var n = e.target.getSiblingIndex(), a = Global.tableModel;
                Global.msgHandler.requestInteractionEmotion({
                    type: 2,
                    emoId: o.CHATSTATIC.INTERRACT + n,
                    resourceSeatId: a.getSeatId(),
                    targetSeatId: a.getPlayerModel(this.targetSeatIndex).getSeatId()
                }, -1, !0), SceneHelper.getCurScene().getComponent("ChatInteractionController").onInteractionBarClickOther();
            },
            playAni: function () {
                this.anim && this.anim.play();
            }
        })
    }